package rpc

import (
	"leaf/core/rpc"
	"leaf/pb"
)

func Init() {
	rpc.Register("GetLogicAddr", nil, nil, &pb.S2C_GateAddr{}, Rpc_GetLogicAddr)
	rpc.Register("SendNotifyMsg", nil, &pb.C2S_NotifyMsg{}, nil, Rpc_SendNotify)
}
